Important Util helpers
Reference the following utility types to help you interact with the Whirlpool protocol.
PDAUtil
Utility class to help you derive the PDA for Whirlpool accounts
🔗 PDAUtil | @orca-so/whirlpools
https://orca-so.github.io/whirlpools/legacy/classes/PDAUtil.html
PriceMath
Utility methods to help you convert between sqrt-price, price and tick index.
🔗 PriceMath | @orca-so/whirlpools
https://orca-so.github.io/whirlpools/legacy/classes/PriceMath.html
TickUtil
Utility class hosting Tick utility methods such as finding initializable ticks, deriving tick array start-index etc.
🔗 TickUtil | @orca-so/whirlpools
https://orca-so.github.io/whirlpools/legacy/classes/TickUtil.html
TickArrayUtil
Utility class to help fetch TickArray data.
🔗 TickArrayUtil | @orca-so/whirlpools
https://orca-so.github.io/whirlpools/legacy/classes/TickArrayUtil.html
PoolUtil
A collection of utility methods that you may use when interacting with the Whirlpool account.
🔗 PoolUtil | @orca-so/whirlpools
https://orca-so.github.io/whirlpools/legacy/classes/PoolUtil.html